
namespace Himall.Entity
{
    using System;
    using System.Collections.Generic;
    /// <summary>
    /// 会员推广记录表
    /// </summary>
    public partial class InviteRecordInfo:BaseModel
    {
        long _id;
        public new long Id { get{ return _id; } set{ _id=value; base.Id = value; } }
        /// <summary>
        /// 用户名
        /// </summary>
        public string UserName { get; set; }
        /// <summary>
        /// 邀请的用户
        /// </summary>
        public string RegName { get; set; }
        /// <summary>
        /// 邀请获得的积分
        /// </summary>
        public int InviteIntegral { get; set; }
        /// <summary>
        /// 被邀请获得的积分
        /// </summary>
        public Nullable<int> RegIntegral { get; set; }
        /// <summary>
        /// 注册时间
        /// </summary>
        public Nullable<System.DateTime> RegTime { get; set; }
        /// <summary>
        /// 用户ID
        /// </summary>
        public long UserId { get; set; } = 0;
        /// <summary>
        /// 被邀请的用户ID
        /// </summary>
        public long RegUserId { get; set; } = 0;
        /// <summary>
        /// 获得积分时间
        /// </summary>
        public Nullable<System.DateTime> RecordTime { get; set; }
    
        public virtual UserMemberInfo InviteMember { get; set; }
        public virtual UserMemberInfo RegMember { get; set; }
    }
}
